.class Lcom/waiqin365/lightapp/kehu/ci;
.super Landroid/os/Handler;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 6

    const v5, 0x7f0805a8

    const/16 v4, 0x8

    const/4 v2, 0x1

    const/4 v1, 0x0

    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->dismissProgressDialog()V

    iget v0, p1, Landroid/os/Message;->what:I

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Ljava/util/ArrayList;

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v3}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->a(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v3

    invoke-virtual {v3, v4}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    if-eqz v0, :cond_2

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v3

    const/16 v4, 0xa

    if-ge v3, v4, :cond_5

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v3}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v3

    invoke-virtual {v3}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->f()V

    :cond_0
    :goto_1
    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v3}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->c(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)I

    move-result v3

    if-ne v2, v3, :cond_1

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    iget-object v2, v2, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->a:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->clear()V

    :cond_1
    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    iget-object v2, v2, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->a:Ljava/util/ArrayList;

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->d(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/kehu/b/ai;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/b/ai;->notifyDataSetChanged()V

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->a:Ljava/util/ArrayList;

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->a:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-gtz v0, :cond_4

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->a(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->a(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/NoNetView;->a()V

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->dismissProgressDialog()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->d()V

    goto/16 :goto_0

    :cond_5
    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v3}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v3

    invoke-virtual {v3}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->h()Z

    move-result v3

    if-nez v3, :cond_0

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v3}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v3

    invoke-virtual {v3}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->g()V

    goto/16 :goto_1

    :sswitch_1
    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/kehu/a/a/bg;

    if-eqz v0, :cond_9

    const-string/jumbo v3, "1"

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/a/a/bg;->d:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_9

    iget-object v3, v0, Lcom/waiqin365/lightapp/kehu/a/a/bg;->f:Ljava/util/ArrayList;

    if-eqz v3, :cond_8

    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_8

    const-string/jumbo v0, "2"

    iget-object v4, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v4}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->e(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v0, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_6

    move v0, v1

    :goto_2
    sget-boolean v2, Lcom/fiberhome/gaea/client/c/b;->v:Z

    if-nez v2, :cond_7

    if-eqz v0, :cond_7

    invoke-virtual {v3, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_7

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    const-string/jumbo v1, "\u672a\u67e5\u8be2\u5230\u6570\u636e\uff01"

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :cond_6
    move v0, v2

    goto :goto_2

    :cond_7
    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-virtual {v3, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    invoke-virtual {v2, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->back(Lcom/waiqin365/lightapp/kehu/b/am;)V

    goto/16 :goto_0

    :cond_8
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-virtual {v1, v5}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :cond_9
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-virtual {v1, v5}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :sswitch_2
    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/kehu/a/a/bh;

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v3}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->a(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v3

    invoke-virtual {v3, v4}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v3}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v3

    invoke-virtual {v3, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setVisibility(I)V

    if-eqz v0, :cond_a

    const-string/jumbo v3, "1"

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/a/a/bh;->d:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_10

    iget-object v2, v0, Lcom/waiqin365/lightapp/kehu/a/a/bh;->i:Ljava/util/ArrayList;

    if-eqz v2, :cond_d

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v3

    if-lez v3, :cond_d

    const-string/jumbo v1, "1"

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/a/a/bh;->g:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_b

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->a:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->a:Ljava/util/ArrayList;

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->d(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/kehu/b/ai;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/b/ai;->notifyDataSetChanged()V

    :goto_3
    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->f(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)I

    move-result v1

    if-ge v0, v1, :cond_c

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->f()V

    :cond_a
    :goto_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->d()V

    goto/16 :goto_0

    :cond_b
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->a:Ljava/util/ArrayList;

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->d(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/kehu/b/ai;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/b/ai;->notifyDataSetChanged()V

    goto :goto_3

    :cond_c
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->g()V

    goto :goto_4

    :cond_d
    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    iget-object v2, v2, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->a:Ljava/util/ArrayList;

    if-eqz v2, :cond_f

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    iget-object v2, v2, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->a:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    if-lez v2, :cond_f

    const-string/jumbo v2, "0"

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/a/a/bh;->g:Ljava/lang/String;

    invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_e

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->a:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->d(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/kehu/b/ai;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/b/ai;->notifyDataSetChanged()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->a(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->a(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/NoNetView;->a()V

    goto :goto_4

    :cond_e
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->f()V

    goto :goto_4

    :cond_f
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->a(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->a(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/NoNetView;->a()V

    goto/16 :goto_4

    :cond_10
    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    iget-object v3, v3, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->a:Ljava/util/ArrayList;

    if-eqz v3, :cond_12

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    iget-object v3, v3, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->a:Ljava/util/ArrayList;

    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v3

    if-lez v3, :cond_12

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/a/a/bh;->e:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_11

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/a/a/bh;->e:Ljava/lang/String;

    invoke-static {v1, v0, v2}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto/16 :goto_4

    :cond_11
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    const v3, 0x7f08013b

    invoke-virtual {v1, v3}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto/16 :goto_4

    :cond_12
    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v2

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setVisibility(I)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->a(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v2

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ci;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->a(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v1

    iget v0, v0, Lcom/waiqin365/lightapp/kehu/a/a/bh;->c:I

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/NoNetView;->a(I)V

    goto/16 :goto_4

    :sswitch_data_0
    .sparse-switch
        0x13 -> :sswitch_2
        0x18 -> :sswitch_1
        0x3f2 -> :sswitch_0
    .end sparse-switch
.end method
